Iterators in VB: samples, templates and snippets by Bill McCarthy for Visual Studio Magazine 
==============================================================================================
Contents:
---------
+ Stream Iterator Sample
An example of writing a stream iterators in VB9.

+ Snippet
Contains a snippet (short-cut is iterator) to make it easier to create custom iterators in VB.  
Double clicking on the Iterator.vsi file will install the snippet. Follow the prompts.

+ Template
To install, copy the IteratorTemplate.zip file into your template items path, typically:
My Documents\Visual studio 2008\Templates\ItemTemplates\Visual Basic

+ VB 10 Generic Iterator Sample
Demonstrates using multiline lambdas with a GenericIterator class. This sample requires VB 10 or later. The advantage of the generic template approach is you add the GenericIterator class once, and you can then create many different iterators simply by using inline lambdas in the constructor.


 Bill McCarthy, 2008.